package com.atwisdom.star.common.actionType.modelClass.hier;

/**************************************************************************************
 * 方法枚举
 **************************************************************************************/
public enum HierActionType {

    HIER_INSTANCE_SAVE_HIER_WITHOUT_MODEL("SAVE_HIER_WITHOUT_MODEL", "saveHierWithoutModel", "添加Hier"),
    HIER_INSTANCE_DELETE_HIER_BY_ID_LIST("DELETE_HIER_BY_ID_LIST", "deleteHierByIdList", "删除Hier"),
    HIER_INSTANCE_QUERY_WITH_LINK("QUERY_WITH_LINK", "queryWithLink", "查询Hier的link实例"),
    HIER_INSTANCE_QUERY_BY_PAGE("QUERY_BY_PAGE", "queryByPage", "分页查询Hier"),
    HIER_INSTANCE_QUERY_BY_ID("QUERY_BY_ID", "queryById", "查询Hier实例"),
    HIER_INSTANCE_QUERY_BY_PAGE_WITH_CONTAINERID("QUERY_BY_PAGE_WITH_CONTAINERID", "queryByPageWithContainerId", "分页查询Hier"),
    HIER_INSTANCE_UPDATE_BY_ID("UPDATE_BY_ID", "updateById", "更新实例"),
    HIER_INSTANCE_UPDATE_BY_IDS("UPDATE_BY_IDS", "updateByIds", "更新实例"),
    HIER_INSTANCE_QUERY_AND_GROUP_BY("QUERY_AND_GROUP_BY", "queryAndGroupBy", "查询结果分组");

    private final String code;
    private final String methodName;
    private final String description;

    public String getCode() {
        return code;
    }

    public String getMethodName() {
        return methodName;
    }

    public String getDescription() {
        return description;
    }

    HierActionType(String code, String methodName, String description) {
        this.code = code;
        this.methodName = methodName;
        this.description = description;
    }
}
